package com.qf.userinformationsystem.service;

import com.qf.userinformationsystem.pojo.UserInfo;

import java.util.List;

public interface UserInfoService {
    List<UserInfo> getAll();
    List<UserInfo> getUserByIdNum(String idNum);
    int insert(UserInfo userInfo);
    int update(UserInfo userInfo);
    List<UserInfo> searchByFour(String name,Integer age,String sTime,String eTime);
    List<UserInfo> getUserByIdAndIdNum(Integer id,String idNum);
    int delete(Integer id,String creator);
    int delBatch(String ids,String creator);
    List<UserInfo> getUserByIds(String ids);
    List<Integer> count();
}
